/*
 * kjhy
 * _____________________
 *
 * [2018] - [2020] kjhy Technology Co., Ltd.
 * All Rights Reserved.
 *
 * NOTICE: All information contained herein is, and remains the property
 * of kjhy Technology Co., Ltd and its suppliers,
 * if any. The intellectual and technical concepts contained herein are proprietary
 * to kjhy Technology Co., Ltd.
 * and its suppliers and may be covered by China and Foreign Patents, patents in process,
 * and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of
 * this material is strictly forbidden unless prior
 * written permission is obtained from kjhy Technology Co., Ltd.
 */
package vip.denglei.company.util;


import lombok.Data;

import javax.validation.constraints.Min;

/**
 * @Description: 分页查询基础
 * @Author rxy
 * @Date 2020/4/16 11:14
 */
@Data
public class PageQuery {

    /**
     * 当前页
     */
    @Min(value = 1, message = "当前页必须大于0")
    private Integer pageNum = 1;

    /**
     * 每页数量
     */
    @Min(value = 1, message = "每页数量必须大于0")
    private Integer pageSize = 10;

}

